/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.designPatterns.command;

/**
 *
 * @author minga
 */
public class MealInvoke {
   Command command ;
  public MealInvoke( Command command ) 
  {
    this.command = command ;
  }
  public void setCommand ( Command command ) 
  {
   this.command = command ;
  }
  public void invoke ( ) 
  {
    command.execute();
  }
}
